home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / src / Games / cbzone / Imakefile < prev    next >
Makefile  |  1995-05-03  |  1KB  |  61 lines

  1. /*
  2.  * Imakefile for cbzone
  3.  *  Todd Mummert, CMU, January 1991
  4.  */
  5. SRCS =  c_main.c \
  6.         c_move.c \
  7.         c_graphics.c \
  8.         c_scores.c \
  9.         c_gpr.c \
  10.         c_parseopts.c \
  11.         c_draw.c \
  12.         c_explode.c
  13.  
  14. OBJS =  c_main.o \
  15.         c_move.o \
  16.         c_graphics.o \
  17.         c_scores.o \
  18.         c_gpr.o \
  19.         c_parseopts.o \
  20.         c_draw.o \
  21.         c_explode.o
  22.  
  23. HDRS =  c_config.h \
  24.         c_structs.h \
  25.         c_defs.h \
  26.         c_externs.h \
  27.         c_colors.h \
  28.         c_includes.h \
  29.         PatchLevel.h
  30.  
  31. ETCS =  cbzone.help \
  32.         cbzone.motd
  33.  
  34. MISC =  Imakefile \
  35.         Makefile.orig \
  36.         INSTALL \
  37.         ChangeLog \
  38.         bitmaps
  39.  
  40. # in general, these should end in a /
  41. # this is where the binary will go
  42. BINDIR = /usr/games/X11/
  43. # this is where the scorefile and helpfile will go
  44. TANKDIR = /usr/games/lib/cbzone/
  45.  
  46. DEFINES = -DTANKDIR=\"$(TANKDIR)\"
  47.  
  48. LOCAL_LIBRARIES = $(XTOOLLIB) $(XLIB) -lm
  49.  
  50. ComplexProgramTarget(cbzone)
  51.  
  52. InstallNonExec(cbzone.help,$(TANKDIR))
  53. InstallNonExec(cbzone.motd,$(TANKDIR))
  54.  
  55. tar: cbzone.tar.Z
  56.  
  57. cbzone.tar.Z:  $(SRCS) $(HDRS) $(ETCS) $(MISC)
  58.     rm -rf cbzone.tar cbzone.tar.Z
  59.     tar -cf cbzone.tar $(SRCS) $(HDRS) $(ETCS) $(MISC)
  60.     compress cbzone.tar
  61.